//
//  AddressBookGroup.h
//  TestAB
//
//  Created by Hunk on 12-2-24.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <AddressBook/AddressBook.h>

@interface AddressBookGroup : NSObject
{
    @private
    ABRecordRef _record;
    
    BOOL        _hasMember;
}
@property (nonatomic, readonly) ABRecordRef record;
@property (nonatomic, readonly) BOOL        hasMember;

- (id)initWithRecord:(ABRecordRef)record;

// 获取群组名字
- (NSString *)groupName;

- (NSInteger)groupMembersCount;

// 获取群组中的所有成员
- (NSArray *)groupMembers;

@end
